# coding=utf-8
if __name__ == '__main__':
    l = list(range(0, 10))
    a = l.pop(0)
    l.append(a)
    a = l.pop(0)
    l.append(a)
    print(l)
